package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TestNumber entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "test_number", catalog = "imcdbserver")
public class TestNumber implements java.io.Serializable {

	// Fields

	private Integer id;
	private String numberName;
	private String numberNo;
	private Integer numberIsY;
	private String numberRemarks;
	private String corpId;

	// Constructors

	/** default constructor */
	public TestNumber() {
	}

	/** minimal constructor */
	public TestNumber(Integer numberIsY, String numberRemarks) {
		this.numberIsY = numberIsY;
		this.numberRemarks = numberRemarks;
	}

	/** full constructor */
	public TestNumber(String numberName, String numberNo, Integer numberIsY,
			String numberRemarks, String corpId) {
		this.numberName = numberName;
		this.numberNo = numberNo;
		this.numberIsY = numberIsY;
		this.numberRemarks = numberRemarks;
		this.corpId = corpId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "number_name", length = 11)
	public String getNumberName() {
		return this.numberName;
	}

	public void setNumberName(String numberName) {
		this.numberName = numberName;
	}

	@Column(name = "number_no", length = 11)
	public String getNumberNo() {
		return this.numberNo;
	}

	public void setNumberNo(String numberNo) {
		this.numberNo = numberNo;
	}

	@Column(name = "number_isY", nullable = false)
	public Integer getNumberIsY() {
		return this.numberIsY;
	}

	public void setNumberIsY(Integer numberIsY) {
		this.numberIsY = numberIsY;
	}

	@Column(name = "number_remarks", nullable = false, length = 50)
	public String getNumberRemarks() {
		return this.numberRemarks;
	}

	public void setNumberRemarks(String numberRemarks) {
		this.numberRemarks = numberRemarks;
	}

	@Column(name = "corp_id", length = 20)
	public String getCorpId() {
		return this.corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

}